<template>
  <el-card class="box-card top">
    <div class="clearfix">
      <span v-if="topTitle.type!=''">{{topTitle.type}} / </span>
      <span class="top_title">{{ topTitle.text }}</span>
      <span> - </span>
      <span class="msg">{{ topTitle.msg }}</span>
    </div>
  </el-card>
</template>

<script>
export default {
  name: "ConTitle",
  props:["topTitle"],
}
</script>

<style scoped lang="scss">
.top {
  margin-bottom: 10px;

  .top_title {
    font-size: 18px;
    font-weight: bold;
  }
  .msg{
    font-size: 15px;
  }
}
</style>